package com.guomei.bean.curse;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 课程班关联课程实体类
 */
@Data
public class CourseClassAssociation {
    /**
     * 课程班关联id
     */
    private Long id;

    /**
     * 课程班关联ids
     */
    private List<Long> ids;
    
    /**
     * 课程班主课程id
     */
    private Long mainCourseId;

    /**
     * 课程班下属课程ID
     */
    private Long deputyCourseId;
    
    /**
     * 课程班下属课程ID
     */
    private List<Long> deputyCourseIds;
    
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdTime;
    
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatedTime;
    
    // 分页参数
    private Integer pageNum;
    private Integer pageSize;
}
